package com.ht.temp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author mayke_zhou
 * @since 2018-12-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TemperatureLimit implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 上限id
     */
    @TableId(value = "upper_id", type = IdType.AUTO)
    private Integer upperId;

    /**
     * 温度上限值
     */
    private Float temUpper;

    /**
     * 湿度上限值
     */
    private Float humUpper;

    /**
     * 温度下限值
     */
    private Float temLower;

    /**
     * 湿度下限值
     */
    private Float humLower;

    /**
     * 房间id
     */
    private Integer homeId;

    /**
     * 设备id
     */
    private Integer deviceId;


}
